package cn.buyclss.backend.entity.vo.shop;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: Cecurio
 * @create: 2019-03-18 21:05
 **/
@ApiModel
public class GoodsCategoryVO {
    /**
     * 种类编号
     */
    @ApiModelProperty(value = "种类编号",required = true)
    private Integer id;
    /**
     * 种类名字
     */
    @ApiModelProperty(value = "种类名字",required = true)
    private String name;

    /**
     * 父级种类编号
     */
    @ApiModelProperty(value = "父级种类编号",required = true)
    private Integer parentId;

    /**
     * 排序索引 0-10，其值越小展示时越往前
     */
    @ApiModelProperty(value = "排序索引 0-10，其值越小展示时越往前",required = true)
    private Integer sortIndex;

    @ApiModelProperty(value = "是否被删除，插入记录不要传值，更新时选传",required = true)
    private Integer deleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
}
